package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.ShoppingCart;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class ShoppingCartQuery extends SearchModel<ShoppingCart> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * 主键ID       db_column: id 
     */	
	private String id;
	  /**
     * 用户账号       db_column: user_id
     */
	private String userId;
	  /**
     * 用户姓名       db_column: user_name
     */
	private String userName;
	  /**
     * 店铺主键ID       db_column: shop_id
     */
	private String shopId;
	  /**
     * 店铺名称       db_column: shop_name
     */
	private String shopName;
	  /**
     * 店铺商品主键ID       db_column: goods_id
     */
	private String goodsId;
	  /**
     * 店铺商品名称       db_column: goods_name
     */
	private String goodsName;
	  /**
     * 商品主图地址       db_column: main_picture_address
     */
	private String mainPictureAddress;
	  /**
     * 数量       db_column: buy_num
     */
	private Integer buyNum;
	  /**
     * 有效状态       db_column: active_flag
     */
	private String activeFlag;
	  /**
     * 创建人ID       db_column: create_by
     */
	private String createBy;
	  /**
     * 创建人姓名       db_column: create_by_name
     */
	private String createByName;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	  /**
     * 修改人ID       db_column: modified_by
     */
	private String modifiedBy;
	  /**
     * 修改人姓名       db_column: modified_by_name
     */
	private String modifiedByName;
	  /**
     * 修改时间       db_column: modified_date
     */
	private java.util.Date modifiedDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	private String skuId;
	private String skuJsonValue;
	private String skuAttributeId;
	private Double sellPrice;

	private String freightId;

	public String getFreightId() {
		return freightId;
	}

	public void setFreightId(String freightId) {
		this.freightId = freightId;
	}

	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	public String getSkuJsonValue() {
		return skuJsonValue;
	}

	public void setSkuJsonValue(String skuJsonValue) {
		this.skuJsonValue = skuJsonValue;
	}

	public String getSkuAttributeId() {
		return skuAttributeId;
	}

	public void setSkuAttributeId(String skuAttributeId) {
		this.skuAttributeId = skuAttributeId;
	}

	public Double getSellPrice() {
		return sellPrice;
	}

	public void setSellPrice(Double sellPrice) {
		this.sellPrice = sellPrice;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String value) {
		this.userId = value;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String value) {
		this.userName = value;
	}

	public String getShopId() {
		return this.shopId;
	}

	public void setShopId(String value) {
		this.shopId = value;
	}

	public String getShopName() {
		return this.shopName;
	}

	public void setShopName(String value) {
		this.shopName = value;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String value) {
		this.goodsId = value;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String value) {
		this.goodsName = value;
	}

	public String getMainPictureAddress() {
		return this.mainPictureAddress;
	}

	public void setMainPictureAddress(String value) {
		this.mainPictureAddress = value;
	}

	public Integer getBuyNum() {
		return this.buyNum;
	}

	public void setBuyNum(Integer value) {
		this.buyNum = value;
	}

	public String getActiveFlag() {
		return this.activeFlag;
	}

	public void setActiveFlag(String value) {
		this.activeFlag = value;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String value) {
		this.createBy = value;
	}

	public String getCreateByName() {
		return this.createByName;
	}

	public void setCreateByName(String value) {
		this.createByName = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public String getModifiedBy() {
		return this.modifiedBy;
	}

	public void setModifiedBy(String value) {
		this.modifiedBy = value;
	}

	public String getModifiedByName() {
		return this.modifiedByName;
	}

	public void setModifiedByName(String value) {
		this.modifiedByName = value;
	}

	public java.util.Date getModifiedDate() {
		return this.modifiedDate;
	}

	public void setModifiedDate(java.util.Date value) {
		this.modifiedDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

